/*
 * Copyright (c) 2017 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.shop.filter;

import com.jnzc.ocr.dependencies.serv.bean.BaseFilter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author zhangcm
 * @version 1.0, 2017/10/4
 */
@ApiModel(description = "产品查询条件")
public class ShopProductFilter extends BaseFilter {

    private Long id;
    private Long shopId;
    private List<Long> idList;
    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;
    @ApiModelProperty(value = "分类ID")
    private Long categoryId;
    private Boolean ifOnSale;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Boolean getIfOnSale() {
        return ifOnSale;
    }

    public void setIfOnSale(Boolean ifOnSale) {
        this.ifOnSale = ifOnSale;
    }
}
